.dx-list {
    margin: 0;
    min-height: 3em;
}

.dx-empty-collection .dx-list-select-all {
    display: none;
}

.dx-list-group-header {
    &:before {
        width: 0;
        height: 0;
        display: block;
        float: right;
        margin-top: 6px;

        border-style: solid;
        border-color: transparent;
        border-width: 5px 5px 0 5px;
    }

    .dx-list-collapsible-groups & {
        cursor: pointer;

        &:before{
            content: ' ';
        }
    }

    .dx-list-group-collapsed &:before {
        border-width: 0 5px 5px 5px;
    }
}

.dx-list-group {
}

.dx-list-item {
    position: static;
    cursor: pointer;
    display: table;
    width: 100%;
    table-layout: fixed;
    .dx-overflow();
}

.dx-list-item-content {
    .dx-overflow();
    display: table-cell;
    width: 100%;

    &:before {
        content: "_";
        color: transparent;
        display: inline-block;
        width: 0;
        float: left;
    }
}

.dx-list .dx-empty-message {
    .dx-overflow();
    min-height: 3em;
}

.dx-list-item-badge-container {
    display: table-cell;

    width: 20px;
    text-align: right;
    vertical-align: middle;

    padding-right: 10px;
}

.dx-list-item-badge {
    float: right;
    position: relative;
}

.dx-list-item-chevron-container {
    display: table-cell;

    width: 15px;
    vertical-align: middle;
}

.dx-list-item-chevron {
    height: 8px;
    width: 8px;
    margin-left: -6px;

    .rotate(135deg);

    border-width: 2px 0 0 2px;
    border-style: solid;

    opacity: .3;

    .dx-rtl & {
        margin-left: auto;
        margin-right: -6px;

        .rotate(-45deg);
    }
}


.dx-list-item-response-wait {
    opacity: 0.5;
    .transition(~"opacity .2s linear");
}

.dx-list-slide-menu-content {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.dx-list-item-before-bag,
.dx-list-item-after-bag {
    display: table-cell;
    width: 0;
    height: 100%;
    vertical-align: middle;
}

.dx-list-item-before-bag {
    .dx-list-toggle-delete-switch {
        display: block;
        float: left;
        padding: 3px 0;
    }

    .dx-icon-toggle-delete {
        .transition(~"all .1s linear");
    }

    .dx-list-select-checkbox {
        float: left;
        .transition(~"all .1s linear");
    }
}

.dx-list-select-all {
    white-space: nowrap;
}

.dx-list-select-all-label {
    display: inline-block;
    .dx-overflow;
}

.dx-list-item-after-bag {
    .dx-list-reorder-handle {
        cursor: move;
        background-repeat: no-repeat;
        .background-size(75%, 75%);
        background-position: center;
        .touch-action(pinch-zoom);

        .dx-state-disabled & {
            cursor: default;
        }
    }
}

.dx-list-switchable-menu-shield-positioning {
    position: relative;

    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);

    .dx-device-android-4 & {
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        -webkit-transform: none;
        transform: none;
    }
}

.dx-list-switchable-delete-top-shield,
.dx-list-switchable-delete-bottom-shield {
    position: absolute;
    right: 0;
    left: 0;
    cursor: pointer;
}

.dx-list-switchable-delete-top-shield {
    top: 0;
}

.dx-list-switchable-delete-bottom-shield {
    bottom: 0;
}

.dx-list-switchable-delete-item-content-shield {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.dx-list-switchable-delete-button-container {
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
}

.dx-list-switchable-delete-button-wrapper {
    display: table;
    height: 100%;
}

.dx-list-switchable-delete-button-inner-wrapper {
    display: table-cell;
    padding-left: 1px;
    height: 100%;
    vertical-align: middle;
}

.dx-list-switchable-menu-item-shield-positioning {
    position: relative;

    .dx-list-slide-menu-content {
        position: relative;
    }

    .dx-list-item-content {
        position: relative;
    }
}

.dx-list-switchable-delete-ready {
    .dx-icon-toggle-delete {
        .rotate(-90deg);
    }
}

.dx-list-slide-menu-buttons-container {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;

    .dx-device-ios & {
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }
}

.dx-list-slide-menu-buttons {
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    display: table;
    height: 100%;
}

.dx-list-slide-menu-button {
    display: table-cell;
    padding: 0 10px;
    vertical-align: middle;
}

.dx-list-static-delete-button {
    padding: 0 5px;

    .dx-button-content {
        overflow: visible;
    }
}

.dx-list-item-reordering {
    opacity: 0;
}

.dx-list-reorder-compatibility-mode {
    .dx-list-item {
        position: relative;
    }
}

.dx-list-description {
}

.dx-list-image {
}

.dx-list-next-button {
    padding: 5px;
    text-align: center;

    .dx-button {
        padding: 0 3em;
    }
}

.dx-state-disabled {
    &.dx-list-item, .dx-list-item {
        cursor: default;
    }

    .dx-list-toggle-delete-switch,
    .dx-list-switchable-delete-button {
        .dx-button-disabled;
    }
}

.dx-list-context-menuitem {
    cursor: pointer;
}

.dx-rtl .dx-list,
.dx-rtl.dx-list {
    .dx-list-item-badge-container {
        padding-left: 10px;
        padding-right: 0;
    }

    .dx-list-item-badge {
        float: left;
    }

    .dx-list-item-before-bag {
        .dx-list-toggle-delete-switch {
            float: right;
        }

        .dx-list-select-checkbox {
            float: right;
        }
    }

    .dx-list-switchable-delete-button-inner-wrapper {
        padding-right: 1px;
        padding-left: 0;
    }

    .dx-list-slide-item-delete-button-container {
        right: 100%;
        left: 0;
    }

    .dx-list-slide-item-delete-button {
        right: auto;
        left: 0;
    }

    .dx-list-group-header:before {
        float: left;
    }
}
